intersection of lines in 3d